<?php
/*
 * File Name : SignUp.php
 * Description : The Sign Up page for new users.
 * Created By : Pratibha Awasthi
 */

include_once "basePage.php";

class SignUp extends basePage{
	
	//This function handles the sign up for the Donor and the Agency.
	//The 
	public function signup_form(){

		echo <<<ESIGNUP
		<form name="SignUp" method="post" action="CheckLogin.php">
		<td>
		<table class ="donationtable">
		<tr>
		<strong><h2> Member Sign Up </h2></strong>
		</tr>
		<tr>
		<td>First Name</td>
		<td><input name="firstname" type="text" id="firstname"></td>
		</tr>
		<tr>
		
		<tr>
		<td>Middle Name</td>
		<td><input name="midname" type="text" id="midname"></td>
		</tr>
		<tr>
		
		<tr>
		<td>Last Name</td>
		<td><input name="lastname" type="text" id="lastname"></td>
		</tr>
		<tr>
		
		<tr>
		<td>User Id</td>
		<td><input name="userid" type="text" id="userid"></td>
		</tr>
		<tr>
		
		<td>Password</td>
		<td><input name="password" type="password" id="password"></td>
		</tr>
		<tr>
		<td>&nbsp;</td>
		<td><input type="submit" name="Submit" value="Create Profile"></td>
		</tr>
		</table>
		</td>
		
		
		<p> <h2> <a href = " http://localhost/good-mojo-donation/trunk/src/signupcompany.php "> Click here </a> to sign up as a Company </h2> </p>
		</form>
ESIGNUP;

	}

}

$page = new SignUp();
$page->header();
$page->topmenu_login();
$page->signup_form();
$page->footer();

?>